<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<link rel="stylesheet" href="__PUBLIC__/css/inc.css" />
	<title>添加栏目</title>
</head>
<body class="bgwhite-1">
	<div class="Menu">
		<a href="{|U:'index'}">栏目管理</a>
		<a href="{|U:'add'}" class="act">添加栏目</a>
		<a href="{|U:'updateCache'}">更新缓存</a>
	</div>
	<form method="post">
		<div class="p10">
			<table class="form table">
				<tr>
					<th colspan='2'>添加栏目</th>
					<input type="hidden" name='pid' value='{$hd.get.pid|default:0}' />
				</tr>
				<tr>
					<td class="tr f14 fm pct25"><span class="pr10">商品类型</span></td>
					<td>
						<select name="gtid" class='ml10'>
							<list from="$goodsType" name="gt">
								<option value="{$gt.gtid}">{$gt.gtname}</option>
							</list>
						</select>
					</td>
				</tr>
				<tr>
					<td class="tr f14 fm pct25"><span class="pr10">栏目名称</span></td>
					<td><input name='cname' type="text" class='ml10 pct60' /></td>
				</tr>
				<tr>
					<td class="tr f14 fm"><span class="pr10">关键字</span></td>
					<td><textarea class='ml10 pct70' name="keywords" id="" cols="30" rows="2"></textarea></td>
				</tr>
				<tr>
					<td class="tr f14 fm"><span class="pr10">栏目描述</span></td>
					<td><textarea class='ml10 pct70' name="description" id="" cols="30" rows="3"></textarea></td>
				</tr>
				<tr>
					<td class="tr f14 fm"><span class="pr10">栏目类型</span></td>
					<td>
						<label for="c1" class='ml10'>
							<input type="radio" value='2' name='cate_type' checked='' id='c1' /> 普通栏目	
						</label>
						<label for="c2" class='ml10'>
							<input type="radio" value='1' name='cate_type' id='c2' /> 封面栏目 
						</label>
					</td>
				</tr>
				<tr>
					<td class="tr f14 fm"><span class="pr10">单位</span></td>
					<td><input name='unit' type="text" class='ml10 pct5' value='个' /> <span class="ml5 gray">元/辆/个等</span></td>
				</tr>
				<tr>
					<td class="tr f14 fm"><span class="pr10">价格区间</span></td>
					<td><input name='price_ange' type="text" class='ml10 pct5' value='3' /></td>
				</tr>
			</table>
		</div>
		<div class="fixed b0 f16 fm pct100 btc bgwhite-3 p2">
			<p class="p5 tc"><input type="submit" class="btn bggreen1" value='确定操作' /></p>
		</div>
	</form>
</body>
</html>